import Vue from 'vue';
import App from './App';
import store from './store';
import {
  $toast,
  toFixed
} from '@/common/util.js';
import {
  getImg
} from '@/common/envConfig.js';
Vue.config.productionTip = false;
Vue.prototype.$store = store;
Vue.prototype.$toast = $toast;
Vue.prototype.$toFixed = toFixed;
Vue.prototype.$getImg = getImg;
Vue.prototype.$platform = store.getters.platform;
App.mpType = 'app';
const app = new Vue({
  store,
  ...App
});
app.$mount();